﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.world.machines {
    import flash.display.*;
    import flash.text.*;
    import net.wooga.pets.constants.*;

    public class KioskMachineView extends AbstractMachineView {

        public function KioskMachineView(_arg1:String, _arg2:MovieClip){
            super(_arg1, _arg2);
        }
        public function get depth():int{
            return (100);
        }
        public function setKioskText(_arg1:String):void{
            var text = _arg1;
            var format:TextFormat = new TextFormat();
            format.font = "MyriadProFont";
            format.align = TextFormatAlign.CENTER;
            format.bold = true;
            format.color = "0xffffff";
            format.size = 46;
            var _local3 = _asset;
            with (_local3) {
                kioskLabel.embedFonts = true;
                kioskLabel.htmlText = text;
                kioskLabel.autoSize = TextFieldAutoSize.CENTER;
                kioskLabel.multiline = true;
                kioskLabel.setTextFormat(format);
            };
        }
        override public function get x():Number{
            return ((GameConstants.ROOM_WIDTH / 2));
        }

    }
}//package net.wooga.pets.views.world.machines 
